package com.mokairui.design.creatormodel.factorymethod;

/**
 * @Program: basic-summary
 * @Description:
 * @Author Mokairui
 * @Date 2021/5/31 21:20
 */
public abstract class Coffee {
    public abstract void getName();

    public void addSugar() {
        System.out.println("加糖");
    }

    public void addMilk() {
        System.out.println("加牛奶");
    }
}
